package com.summer.pojo;

import java.util.List;

public class Order {
    private int uid;
    private int bookid;
    private  int count;
    private float money;
    private  List<Book> bookList;
    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getBookid() {
        return bookid;
    }

    public void setBookid(int bookid) {
        this.bookid = bookid;
    }


    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public Order(int uid, int bookid,int count, float money) {
        this.uid = uid;
        this.bookid = bookid;
        this.count = count;
        this.money = money;
    }

    public Order() {
    }

    public List<Book> getBookList() {
        return bookList;
    }

    public void setBookList(List<Book> bookList) {
        this.bookList = bookList;
    }

    @Override
    public String toString() {
        return "Order{" +
                "uid=" + uid +
                ", bookid=" + bookid +
                ", count=" + count +
                ", money=" + money +
                ", bookList=" + bookList +
                '}';
    }
}
